GtkNotebook: fix crash when DnD tabs between windows
authorXan Lopez <xan@igalia.com>
Fri, 30 Dec 2011 20:09:21 +0000 (21:09 +0100)
committerXan Lopez <xan@igalia.com>
Wed, 4 Jan 2012 07:48:46 +0000 (08:48 +0100)
commiteeb9de80e17d1915d877c98eabd9a9a1f4423e9c
tree4929a3e08e52437f5e6dbaf01c7f4a67bca5635f
parent912375ff38556289902590e59b6a65e5ea92d6b7
GtkNotebook: fix crash when DnD tabs between windows

When doing DnD between windows the tab label is set as the child of
the DnD info window. If this is happening the remove method of
GtkNotebook should not unparent the tab label, since it's been already
unparented, belongs to the DnD window and will be properly destroyed
when the DnD is over.

https://bugzilla.gnome.org/show_bug.cgi?id=639875
gtk/gtknotebook.c